package com.ruoyi.common.enums;

/**
 * 工作流状态
 */
public enum WorkflowStatus implements BaseEnum {
	
	NONE("0", "未进入工作流"),
	PROGRESS("1", "已进入工作流"),
	DONE("2", "工作流正常结束(同意)"),
	BACK("3", "被工作流驳回"),
	PARTPASS("4", "工作流部分通过"),
	BACK_COMMIT("5", "工作流驳回待提交"),
	;

	private final String code;
	private final String info;

	WorkflowStatus(String code, String info) {
		this.code = code;
		this.info = info;
	}

	public String getCode() {
		return code;
	}

	public String getInfo() {
		return info;
	}
	
	@Override
	public String getType() {
		return "workflow_status";
	}

	@Override
	public String getTypeName() {
		return "工作流状态";
	}

}
